package com.ruoyi.yzd.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 易制毒-管理员对象 yzd_administrator
 * 
 * @author zyb
 * @date 2023-07-04
 */
public class YzdAdministrator extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 身份证号 */
    private String adminId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String adminName;

    /** 性别（0男 1女 2未知） */
    @Excel(name = "性别", readConverterExp = "0=男,1=女,2=未知")
    private String adminSex;

    /** 证件类型（0身份证 1护照） */
    @Excel(name = "证件类型", readConverterExp = "0=身份证,1=护照")
    private String adminType;

    /** 民族 */
    @Excel(name = "民族")
    private String adminNation;

    /** 出生日期/yyyy-mm-dd */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期/yyyy-mm-dd", width = 30, dateFormat = "yyyy-MM-dd")
    private Date adminBirthday;

    /** 证件有效期 */
    @Excel(name = "证件有效期")
    private String adminExpiration;

    /** 发证机关 */
    @Excel(name = "发证机关")
    private String licenceUnit;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phoneNo;

    /** 关联身份证双面/image id list */
    @Excel(name = "关联身份证双面/image id list")
    private String adminImageId;

    public void setAdminId(String adminId) 
    {
        this.adminId = adminId;
    }

    public String getAdminId() 
    {
        return adminId;
    }
    public void setAdminName(String adminName) 
    {
        this.adminName = adminName;
    }

    public String getAdminName() 
    {
        return adminName;
    }
    public void setAdminSex(String adminSex) 
    {
        this.adminSex = adminSex;
    }

    public String getAdminSex() 
    {
        return adminSex;
    }
    public void setAdminType(String adminType) 
    {
        this.adminType = adminType;
    }

    public String getAdminType() 
    {
        return adminType;
    }
    public void setAdminNation(String adminNation) 
    {
        this.adminNation = adminNation;
    }

    public String getAdminNation() 
    {
        return adminNation;
    }
    public void setAdminBirthday(Date adminBirthday) 
    {
        this.adminBirthday = adminBirthday;
    }

    public Date getAdminBirthday() 
    {
        return adminBirthday;
    }
    public void setAdminExpiration(String adminExpiration) 
    {
        this.adminExpiration = adminExpiration;
    }

    public String getAdminExpiration() 
    {
        return adminExpiration;
    }
    public void setLicenceUnit(String licenceUnit) 
    {
        this.licenceUnit = licenceUnit;
    }

    public String getLicenceUnit() 
    {
        return licenceUnit;
    }
    public void setPhoneNo(String phoneNo) 
    {
        this.phoneNo = phoneNo;
    }

    public String getPhoneNo() 
    {
        return phoneNo;
    }
    public void setAdminImageId(String adminImageId) 
    {
        this.adminImageId = adminImageId;
    }

    public String getAdminImageId() 
    {
        return adminImageId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("adminId", getAdminId())
            .append("adminName", getAdminName())
            .append("adminSex", getAdminSex())
            .append("adminType", getAdminType())
            .append("adminNation", getAdminNation())
            .append("adminBirthday", getAdminBirthday())
            .append("adminExpiration", getAdminExpiration())
            .append("licenceUnit", getLicenceUnit())
            .append("phoneNo", getPhoneNo())
            .append("adminImageId", getAdminImageId())
            .toString();
    }
}
